package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 用户事件埋点记录对象 sys_user_event_buried_point
 * 
 * @author ruoyi
 * @date 2023-08-02
 */
public class SysUserEventBuriedPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户埋点记录表主键 */
    private Long id;

    /** 埋点日期 */
    @Excel(name = "埋点日期")
    private String date;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private Long customerId;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String customerName;

    /** 训练订单编码 */
    @Excel(name = "训练订单编码")
    private String orderNo;

    /** 埋点名称 */
    @Excel(name = "埋点名称")
    private String buriedPointName;

    /** 埋点类型（1：退出应用 0：普通埋点） */
    @Excel(name = "埋点类型", readConverterExp = "1=：退出应用,0=：普通埋点")
    private Integer buriedPointType;

    /** 事件类型（1：点击事件） */
    @Excel(name = "事件类型", readConverterExp = "1=：点击事件")
    private Integer eventType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setBuriedPointName(String buriedPointName) 
    {
        this.buriedPointName = buriedPointName;
    }

    public String getBuriedPointName() 
    {
        return buriedPointName;
    }
    public void setBuriedPointType(Integer buriedPointType) 
    {
        this.buriedPointType = buriedPointType;
    }

    public Integer getBuriedPointType() 
    {
        return buriedPointType;
    }
    public void setEventType(Integer eventType) 
    {
        this.eventType = eventType;
    }

    public Integer getEventType() 
    {
        return eventType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("orderNo", getOrderNo())
            .append("buriedPointName", getBuriedPointName())
            .append("buriedPointType", getBuriedPointType())
            .append("eventType", getEventType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
